package com.drug.wms.domain;

import com.drug.common.annotation.Dict;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.drug.common.annotation.Excel;
import com.drug.common.core.domain.BaseEntity;

/**
 * 仓库信息对象 bus_warehose_info
 * 
 * @author ruoyi
 * @date 2021-11-15
 */
public class BusWarehoseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String warehouseNo;

    /** 仓库类型编码 */
    @Excel(name = "仓库类型编码")
    @Dict(dicCode = "warehouse_type")
    private String warehouseTypeCode;

    /** 仓库性质编码 */
    @Excel(name = "仓库性质编码")
    @Dict(dicCode = "warehouse_nature")
    private String warehouseNatureCode;

    /** 货位管理方式编码 */
    @Excel(name = "货位管理方式编码")
    @Dict(dicCode = "position_manageme")
    private String positionManagemeCode;

    /** 使用状态编码 */
    @Excel(name = "使用状态编码")
    private String useStatusCode;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String connectPhone;

    /** 数据状态 */
    @Excel(name = "数据状态")
    private String validityCode;

    /** 联系人 */
    @Excel(name = "联系人")
    private String connectPerson;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }
    public void setWarehouseNo(String warehouseNo) 
    {
        this.warehouseNo = warehouseNo;
    }

    public String getWarehouseNo() 
    {
        return warehouseNo;
    }
    public void setWarehouseTypeCode(String warehouseTypeCode) 
    {
        this.warehouseTypeCode = warehouseTypeCode;
    }

    public String getWarehouseTypeCode() 
    {
        return warehouseTypeCode;
    }
    public void setWarehouseNatureCode(String warehouseNatureCode) 
    {
        this.warehouseNatureCode = warehouseNatureCode;
    }

    public String getWarehouseNatureCode() 
    {
        return warehouseNatureCode;
    }
    public void setPositionManagemeCode(String positionManagemeCode) 
    {
        this.positionManagemeCode = positionManagemeCode;
    }

    public String getPositionManagemeCode() 
    {
        return positionManagemeCode;
    }
    public void setUseStatusCode(String useStatusCode) 
    {
        this.useStatusCode = useStatusCode;
    }

    public String getUseStatusCode() 
    {
        return useStatusCode;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setConnectPhone(String connectPhone) 
    {
        this.connectPhone = connectPhone;
    }

    public String getConnectPhone() 
    {
        return connectPhone;
    }
    public void setValidityCode(String validityCode) 
    {
        this.validityCode = validityCode;
    }

    public String getValidityCode() 
    {
        return validityCode;
    }
    public void setConnectPerson(String connectPerson) 
    {
        this.connectPerson = connectPerson;
    }

    public String getConnectPerson() 
    {
        return connectPerson;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("warehouseName", getWarehouseName())
            .append("warehouseNo", getWarehouseNo())
            .append("warehouseTypeCode", getWarehouseTypeCode())
            .append("remark", getRemark())
            .append("warehouseNatureCode", getWarehouseNatureCode())
            .append("positionManagemeCode", getPositionManagemeCode())
            .append("useStatusCode", getUseStatusCode())
            .append("address", getAddress())
            .append("connectPhone", getConnectPhone())
            .append("validityCode", getValidityCode())
            .append("connectPerson", getConnectPerson())
            .append("deptId", getDeptId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
